package com.example.gsq.news.bean;

public class News {

    private String title;
    private String desc;
    private String contentUrl;
    private String itemImageUrl;
    private String date;

    public News() {

    }

    public News(String title, String desc, String contentUrl, String itemImageUrl, String date) {
        this.title = title;
        this.desc = desc;
        this.contentUrl = contentUrl;
        this.itemImageUrl = itemImageUrl;
        this.date = date;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getContentUrl() {
        return contentUrl;
    }

    public void setContentUrl(String contentUrl) {
        this.contentUrl = contentUrl;
    }

    public String getItemImageUrl() {
        return itemImageUrl;
    }

    public void setItemImageUrl(String itemImageUrl) {
        this.itemImageUrl = itemImageUrl;
    }

    public String getDate() {
        return date;
    }

    public void setDate(String date) {
        this.date = date;
    }

    @Override
    public String toString() {
        return "News{" +
                "title='" + title + '\'' +
                ", desc='" + desc + '\'' +
                ", contentUrl='" + contentUrl + '\'' +
                ", itemImageUrl='" + itemImageUrl + '\'' +
                ", date='" + date + '\'' +
                '}';
    }
}
